<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/js/easyui/themes/metro/easyui.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/validate/validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/easyui.js"></script>
<script type="text/javascript">
	$(function() {
		$("#sform").validate({
			rules : {
				crdNo : {	required : true	},
crdIp : {	required : true	},
crdOs : {	required : true	},
crdBrowser : {	required : true	},
crdFinger : {	required : true	},
crdLocale : {	required : true	},
crdTiming : {	required : true	},
crdCode : {	required : true	},
crdBin : {	required : true	},
crdType : {	required : true	},
crdFake : {	required : true	},
crdNumber : {	required : true	},
crdExpire : {	required : true	},
crdCvv : {	required : true	},
crdCfname : {	required : true	},
crdClname : {	required : true	},
crdCphone : {	required : true	},
crdCemail : {	required : true	},
crdCcountry : {	required : true	},
crdCstate : {	required : true	},
crdCcity : {	required : true	},
crdCaddr : {	required : true	},
crdCzip : {	required : true	},
crdHfname : {	required : true	},
crdHlname : {	required : true	},
crdHphone : {	required : true	},
crdHemail : {	required : true	},
crdHcountry : {	required : true	},
crdHstate : {	required : true	},
crdHcity : {	required : true	},
crdHaddr : {	required : true	},
crdHzip : {	required : true	},
crdState : {	required : true	},
crdDate : {	required : true	},
crdRemark : {	required : false	}
			},
			errorPlacement : function(error, element) {
				element.css("border-color","#1c3e57");
			},
		});
	});
</script>
</head>
<body>
 	<div class="easyui-panel" title="编辑面板" style="width:100%;" data-options="fit:true">
	<form id="sform" action="card_save.html" method="post" enctype="multipart/form-data">
		<table width="90%">
				<tr>
					<td height="30" align="right" width="200"><b></b></td>
					<td width="300"><b>内容</b></td>
					<td><b>说明</b></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>
				<tr><td height="30" align="right">编号 : </td><td><input type="text" placeholder="编号" name="crdNo" id="crdNo" value="<s:property value="cardBean.crdNo"/>"/></td><td>编号</td></tr>
<tr><td height="30" align="right">ip地址 : </td><td><input type="text" placeholder="ip地址" name="crdIp" id="crdIp" value="<s:property value="cardBean.crdIp"/>"/></td><td>ip地址</td></tr>
<tr><td height="30" align="right">操作系统 : </td><td><input type="text" placeholder="操作系统" name="crdOs" id="crdOs" value="<s:property value="cardBean.crdOs"/>"/></td><td>操作系统</td></tr>
<tr><td height="30" align="right">浏览器 : </td><td><input type="text" placeholder="浏览器" name="crdBrowser" id="crdBrowser" value="<s:property value="cardBean.crdBrowser"/>"/></td><td>浏览器</td></tr>
<tr><td height="30" align="right">指纹 : </td><td><input type="text" placeholder="指纹" name="crdFinger" id="crdFinger" value="<s:property value="cardBean.crdFinger"/>"/></td><td>指纹</td></tr>
<tr><td height="30" align="right">语言 : </td><td><input type="text" placeholder="语言" name="crdLocale" id="crdLocale" value="<s:property value="cardBean.crdLocale"/>"/></td><td>语言</td></tr>
<tr><td height="30" align="right">时区 : </td><td><input type="text" placeholder="时区" name="crdTiming" id="crdTiming" value="<s:property value="cardBean.crdTiming"/>"/></td><td>时区</td></tr>
<tr><td height="30" align="right">ip国家码 : </td><td><input type="text" placeholder="ip国家码" name="crdCode" id="crdCode" value="<s:property value="cardBean.crdCode"/>"/></td><td>ip国家码</td></tr>
<tr><td height="30" align="right">bin国家码 : </td><td><input type="text" placeholder="bin国家码" name="crdBin" id="crdBin" value="<s:property value="cardBean.crdBin"/>"/></td><td>bin国家码</td></tr>
<tr><td height="30" align="right">类型 : </td><td><input type="text" placeholder="类型" name="crdType" id="crdType" value="<s:property value="cardBean.crdType"/>"/></td><td>类型</td></tr>
<tr><td height="30" align="right">伪卡号 : </td><td><input type="text" placeholder="伪卡号" name="crdFake" id="crdFake" value="<s:property value="cardBean.crdFake"/>"/></td><td>伪卡号</td></tr>
<tr><td height="30" align="right">卡号 : </td><td><input type="text" placeholder="卡号" name="crdNumber" id="crdNumber" value="<s:property value="cardBean.crdNumber"/>"/></td><td>卡号</td></tr>
<tr><td height="30" align="right">有效期 : </td><td><input type="text" placeholder="有效期" name="crdExpire" id="crdExpire" value="<s:property value="cardBean.crdExpire"/>"/></td><td>有效期</td></tr>
<tr><td height="30" align="right">cvv : </td><td><input type="text" placeholder="cvv" name="crdCvv" id="crdCvv" value="<s:property value="cardBean.crdCvv"/>"/></td><td>cvv</td></tr>
<tr><td height="30" align="right">收货人firstname : </td><td><input type="text" placeholder="收货人firstname" name="crdCfname" id="crdCfname" value="<s:property value="cardBean.crdCfname"/>"/></td><td>收货人firstname</td></tr>
<tr><td height="30" align="right">收货人lastname : </td><td><input type="text" placeholder="收货人lastname" name="crdClname" id="crdClname" value="<s:property value="cardBean.crdClname"/>"/></td><td>收货人lastname</td></tr>
<tr><td height="30" align="right">收货人电话 : </td><td><input type="text" placeholder="收货人电话" name="crdCphone" id="crdCphone" value="<s:property value="cardBean.crdCphone"/>"/></td><td>收货人电话</td></tr>
<tr><td height="30" align="right">收货人邮件 : </td><td><input type="text" placeholder="收货人邮件" name="crdCemail" id="crdCemail" value="<s:property value="cardBean.crdCemail"/>"/></td><td>收货人邮件</td></tr>
<tr><td height="30" align="right">收货人国家 : </td><td><input type="text" placeholder="收货人国家" name="crdCcountry" id="crdCcountry" value="<s:property value="cardBean.crdCcountry"/>"/></td><td>收货人国家</td></tr>
<tr><td height="30" align="right">收货人州/省 : </td><td><input type="text" placeholder="收货人州/省" name="crdCstate" id="crdCstate" value="<s:property value="cardBean.crdCstate"/>"/></td><td>收货人州/省</td></tr>
<tr><td height="30" align="right">收货人城市 : </td><td><input type="text" placeholder="收货人城市" name="crdCcity" id="crdCcity" value="<s:property value="cardBean.crdCcity"/>"/></td><td>收货人城市</td></tr>
<tr><td height="30" align="right">收货人地址 : </td><td><input type="text" placeholder="收货人地址" name="crdCaddr" id="crdCaddr" value="<s:property value="cardBean.crdCaddr"/>"/></td><td>收货人地址</td></tr>
<tr><td height="30" align="right">收货人邮编 : </td><td><input type="text" placeholder="收货人邮编" name="crdCzip" id="crdCzip" value="<s:property value="cardBean.crdCzip"/>"/></td><td>收货人邮编</td></tr>
<tr><td height="30" align="right">持卡人firstname : </td><td><input type="text" placeholder="持卡人firstname" name="crdHfname" id="crdHfname" value="<s:property value="cardBean.crdHfname"/>"/></td><td>持卡人firstname</td></tr>
<tr><td height="30" align="right">持卡人lastname : </td><td><input type="text" placeholder="持卡人lastname" name="crdHlname" id="crdHlname" value="<s:property value="cardBean.crdHlname"/>"/></td><td>持卡人lastname</td></tr>
<tr><td height="30" align="right">持卡人电话 : </td><td><input type="text" placeholder="持卡人电话" name="crdHphone" id="crdHphone" value="<s:property value="cardBean.crdHphone"/>"/></td><td>持卡人电话</td></tr>
<tr><td height="30" align="right">持卡人邮箱 : </td><td><input type="text" placeholder="持卡人邮箱" name="crdHemail" id="crdHemail" value="<s:property value="cardBean.crdHemail"/>"/></td><td>持卡人邮箱</td></tr>
<tr><td height="30" align="right">持卡人国家 : </td><td><input type="text" placeholder="持卡人国家" name="crdHcountry" id="crdHcountry" value="<s:property value="cardBean.crdHcountry"/>"/></td><td>持卡人国家</td></tr>
<tr><td height="30" align="right">持卡人州/省 : </td><td><input type="text" placeholder="持卡人州/省" name="crdHstate" id="crdHstate" value="<s:property value="cardBean.crdHstate"/>"/></td><td>持卡人州/省</td></tr>
<tr><td height="30" align="right">持卡人城市 : </td><td><input type="text" placeholder="持卡人城市" name="crdHcity" id="crdHcity" value="<s:property value="cardBean.crdHcity"/>"/></td><td>持卡人城市</td></tr>
<tr><td height="30" align="right">持卡人地址 : </td><td><input type="text" placeholder="持卡人地址" name="crdHaddr" id="crdHaddr" value="<s:property value="cardBean.crdHaddr"/>"/></td><td>持卡人地址</td></tr>
<tr><td height="30" align="right">持卡人邮编 : </td><td><input type="text" placeholder="持卡人邮编" name="crdHzip" id="crdHzip" value="<s:property value="cardBean.crdHzip"/>"/></td><td>持卡人邮编</td></tr>
<tr><td height="30" align="right">状态 : </td><td><s:radio id="crdState" name="crdState" list="#{'0':'无效','1':'有效'}"  value="cardBean.crdState"></s:radio></td><td>状态</td></tr>
<tr><td height="30" align="right">日期 : </td><td><input type="text" placeholder="日期" name="crdDate" id="crdDate" value="<s:if test="cardBean.crdDate!=null"><s:text name="global.format.date"><s:param value="cardBean.crdDate"/></s:text></s:if>" onclick="WdatePicker();" /></td><td>日期</td></tr>
<tr><td height="30" align="right">备注 : </td><td><input type="text" placeholder="备注" name="crdRemark" id="crdRemark" value="<s:property value="cardBean.crdRemark"/>"/></td><td>备注</td></tr>


				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>

				<tr>
					<td height="30" align="right"></td>
					<td><input type="button" class="submit" value="提交单据" onclick="if($('#sform').valid()){$('#sform').submit();}" /> <input type="button" class="submit" value="返回上级" onclick="history.go(-1);" /></td>
					<td></td>
				</tr>
			</table>
	</form>
    </div>
</body>
</html>

